<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" 
%><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" 
%><%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" 
%><%@ taglib tagdir="/WEB-INF/tags" prefix="cohesion"
%><%@ page contentType="text/html;charset=ISO-8859-1"
%><html:html>
    <head>
        <title><bean:message key="VCrearTarea.title"/></title>
        <html:base/>
        <link rel="stylesheet" type="text/css" href="../css/style.css"></link>
        <script type="text/javascript" src="../_tooltips/js/prototype.js"></script>
        <script type="text/javascript" src="../_tooltips/js/HelpBalloon.js"></script>
        <script type="text/javascript" src="../scripts/datetimepicker.js"></script>
        <style type="text/css">
        div#box287814 {width: 400px; margin: 40px auto; }
        form#287814 {float: left; margin: 0; padding: 0; display: inline; width: 400px; }
        form#287814 p {float: left; margin: 0; padding: 0; display: inline; }
        form#287814 label {float: left; margin: 0; padding: 0; display: inline; overflow: hidden; }
        form#287814 input {float: left; margin: 0; padding: 0; display: inline; }
          form#287814 p#519553_C {clear: both; width: 400px; }
          form#287814 p#519553_C label {clear: both; width: 400px; }
          form#287814 p#519553_C input {clear: both; width: 396px; }
          form#287814 p#519556_C {clear: both; width: 400px; }
          form#287814 p#519556_C label {clear: both; width: 400px; }
          form#287814 p#519556_C input {clear: both; width: 396px; }
          form#287814 p#519559_C {clear: both; width: 400px; }
          form#287814 p#519559_C label {clear: both; width: 400px; }
          form#287814 p#519559_C input {clear: both; width: 396px; }
          form#287814 p#519562_C {clear: both; width: 400px; }
          form#287814 p#519562_C label {clear: both; width: 400px; }
          form#287814 p#519562_C input {clear: both; width: 396px; }
          form#287814 p#519575_C {clear: both; width: 400px; }
          form#287814 p#519575_C label {clear: both; width: 400px; }
          form#287814 p#519575_C input {clear: both; width: 396px; }
          form#287814 p#519578_C {clear: both; width: 400px; }
          form#287814 p#519578_C label {clear: both; width: 400px; }
          form#287814 p#519578_C input {clear: both; width: 396px; }
          form#287814 p#519581_C {clear: both; width: 400px; }
          form#287814 p#519581_C label {clear: both; width: 400px; }
          form#287814 p#519581_C input {clear: both; width: 396px; }
          form#287814 p#519584_C {clear: both; width: 400px; }
          form#287814 p#519584_C label {clear: both; width: 400px; }
          form#287814 p#519584_C input {clear: both; width: 396px; }
          form#287814 p#519587_C {clear: both; width: 400px; }
          form#287814 p#519587_C label {clear: both; width: 400px; }
          form#287814 p#519587_C input {clear: both; width: 396px; }
          form#287814 p#519590_C {clear: both; width: 400px; }
          form#287814 p#519590_C label {clear: both; width: 400px; }
          form#287814 p#519590_C input {clear: both; width: 396px; }
          form#287814 p#519599_C {clear: both; width: 400px; }
          form#287814 p#519599_C label {clear: both; width: 400px; }
          form#287814 p#519599_C input {clear: both; width: 396px; }
          form#287814 p#519602_C {clear: both; width: 400px; }
          form#287814 p#519602_C label {clear: both; width: 400px; }
          form#287814 p#519602_C input {clear: both; width: 396px; }
          form#287814 p#519605_C {clear: both; width: 400px; }
          form#287814 p#519605_C label {clear: both; width: 400px; }
          form#287814 p#519605_C input {clear: both; width: 396px; }
          form#287814 p#519608_C {clear: both; width: 400px; }
          form#287814 p#519608_C label {clear: both; width: 400px; }
          form#287814 p#519608_C input {clear: both; width: 396px; }
          form#287814 p#519611_C {clear: both; width: 400px; }
          form#287814 p#519611_C label {clear: both; width: 400px; }
          form#287814 p#519611_C input {clear: both; width: 396px; }
          form#287814 p#519614_C {clear: both; width: 400px; }
          form#287814 p#519614_C label {clear: both; width: 400px; }
          form#287814 p#519614_C input {clear: both; width: 396px; }
          form#287814 p#519929_C {clear: both; width: 400px; }
          form#287814 p#519929_C label {clear: both; width: 400px; }
          form#287814 p#519929_C input {clear: both; width: 396px; }
          form#287814 p#519933_C {clear: both; width: 400px; }
          form#287814 p#519933_C label {clear: both; width: 400px; }
          form#287814 p#519933_C input {clear: both; width: 396px; }
          form#287814 p#520063_C {clear: both; width: 400px; }
          form#287814 p#520063_C label {clear: both; width: 400px; }
          form#287814 p#520063_C input {clear: both; width: 396px; }
          form#287814 p#520066_C {clear: both; width: 400px; }
          form#287814 p#520066_C label {clear: both; width: 400px; }
          form#287814 p#520066_C input {clear: both; width: 396px; }
          form#287814 p#520233_C {clear: both; width: 400px; }
          form#287814 p#520233_C label {clear: both; width: 400px; }
          form#287814 p#520233_C input {clear: both; width: 396px; }

        </style>

    </head>
    <body>
        <div id="header">
            <div id="title"><bean:message key="VCrearTarea.title"/></div>
            <div id="menu">
                <ul id="nav">
                    <li><cohesion:actor actors="5"><html:link action="/APreTareas.do"><bean:message key="VCrearTarea.label1"/><%-- Cancelar --%></html:link></cohesion:actor></li>

                </ul>
            </div>
        </div>
        <div id="body_wrapper">
            <div id="body">
                <div id="split">
                    <div class="top"></div>
                    <div id="left">
                        <div class="content">
                            ${empty msg ? "" : msg}
                <div class="box287814"><html:form styleId="F287814"
                  action="/ACrearTarea.do" method="post">
                  <html:hidden property="idTarea"/>
                  <p id="519556_C"><label for="519556"><bean:message key="FCrearTarea.label1"/><%-- Asunto --%></label><html:select styleId="519556" property="asunto"><html:optionsCollection property="listaContactos"/></html:select></p>
                  <p id="519559_C"><label for="519559"><bean:message key="FCrearTarea.label2"/><%-- fechaVencimiento --%></label><html:text styleId="519559" property="fechaVencimiento" size="30" readonly="true" onclick="NewCal('519559','ddmmyyyy');"/></p>
                  <p id="519562_C"><label for="519562"><bean:message key="FCrearTarea.label3"/><%-- Comentarios --%></label><html:textarea styleId="519562" property="comentarios" cols="60" rows="10"></html:textarea></p>
                  <p id="519578_C"><label for="519578"><bean:message key="FCrearTarea.label5"/><%-- Prioridad --%></label><html:select styleId="519578" property="prioridad"><html:optionsCollection property="listaPrioridad"/></html:select></p>
                  <p id="519581_C"><label for="519581"><bean:message key="FCrearTarea.label6"/><%-- Telefono --%></label><html:text styleId="519581" property="telefono" size="30"/></p>
                  <p id="519584_C"><label for="519584"><bean:message key="FCrearTarea.label7"/><%-- Correo Electronico --%></label><html:text styleId="519584" property="correoElectronico" size="30"/></p>
                  <p id="519590_C"><label for="519590"><bean:message key="FCrearTarea.label9"/><%-- Personal --%></label><html:select styleId="519590" property="personal"><html:optionsCollection property="listaPersonal"/></html:select></p>
                  <p id="519602_C"><label for="519602"><bean:message key="FCrearTarea.label11"/><%-- Cuenta --%></label><html:select styleId="519602" property="cuenta"><html:optionsCollection property="listaCuentas"/></html:select></p>
                  <p id="519608_C"><label for="519608"><bean:message key="FCrearTarea.label13"/><%-- Contactos --%></label><html:select styleId="519608" property="contactos"><html:optionsCollection property="listaContactos"/></html:select></p>
                  <p id="519614_C"><label for="519614"><bean:message key="FCrearTarea.label15"/><%-- Oportunidades --%></label><html:select styleId="519614" property="oportunidades"><html:optionsCollection property="listaOportunidades"/></html:select></p>
                  <p id="520063_C"><label for="520063"><bean:message key="FCrearTarea.label18"/><%-- Estado --%></label><html:select styleId="520063" property="estado"><html:optionsCollection property="listaEstado"/></html:select></p>
                  <p id="520233_C"><label for="520233"><bean:message key="FCrearTarea.label20"/><%-- Relaciona Con --%></label><html:select styleId="520233" property="relacionaCon"><html:optionsCollection property="listaRelacionadosCon"/></html:select></p>

                  <html:submit styleClass="button"><bean:message key="VCrearTarea.label0"/><%-- Crear --%></html:submit>
                </html:form></div>

                        </div>
                    </div>
                    <div id="right"><ul id="nav"><li><script type="text/javascript">var hb = new HelpBalloon({ dataURL: '//tooltip.do?V=VCrearTarea'});</script></li></ul></div>
                    <div class="clearer"></div>
                    <div class="bottom"></div>
                </div>
                <div class="clearer"></div>
            </div>
            <div class="clearer"></div>
        </div>
        <div id="end_body"></div>
        <div id="footer"> <bean:message key="bottom.label"/> </div>
        
    </body>
</html:html>